package bean;

public class Dep {
    private String dno;
    private String dname;
    private String tel;

    public Dep() {
        super();
    }

    public Dep(String dno, String dname, String tel) {
        this.dno = dno;
        this.dname = dname;
        this.tel = tel;
    }

    public String getDno() {
        return dno;
    }

    public void setDno(String dno) {
        this.dno = dno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "Dep{" +
                "dno='" + dno + '\'' +
                ", dname='" + dname + '\'' +
                ", tel='" + tel + '\'' +
                '}';
    }
}
